-
Notifications
You must be signed in to change notification settings - Fork 612
docs: fix broken links #4217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix broken links #4217
Conversation
|
/lgtm |
|
/assign @rikatz |
| [options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig | ||
| [targetRefs]: ../references/spec/#localpolicytargetreferencewithsectionname | ||
| [subjectAltNames]: ../references/spec/#subjectaltname | ||
| [options]: ../references/spec/#gatewaytlsconfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this link is broken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this's a map, let's link to backendtlspolicyspec.
rikatz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some links are broken, can you please double check?
for instance here is a preview of the changes: https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/
updated |
| [targetRefs]: ../references/spec/#gateway.networking.k8s.io/v1alpha2.PolicyTargetReference | ||
| [subjectAltNames]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation | ||
| [options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig | ||
| [targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still not working. On https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/api-types/backendtlspolicy/ if you click on TargetRefs it will give you a 404.
| [targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname | |
| [targetRefs]: ../reference/spec.md#localpolicytargetreferencewithsectionname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw it should be here: https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/reference/spec/#localpolicytargetreferencewithsectionname
I suggest running a make live-docs on your local computer and testing all of the links :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patient, I double checked this page, it should be fine now.
we can add linkinator to help this in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, I appreciate your effort on fixing it!
There is some ongoing effort to do this as a python hook: #3999
It is still probably too soon to try it, but I saw the authors of mkdocs material (which we use) are moving to a new approach as well: https://zensical.org/
Anyway, we can probably use linkinator as a github action (https://github.com/JustinBeckwith/linkinator#github-actions), it would be great if they provided also a docker image so we could add as some part of "make verify" here :) (I am scared of vendoring half of the internet for npx stuff!)
If you want to give it a try, and let us know on some issue later how your experiments with it or even something like https://github.com/lycheeverse/lychee would be great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it locally, but it has almost over 1,000+ broken links. I haven't had enough bandwidth to fix it recently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, we can do it split on multiple efforts/parts! thanks
| [subjectAltNames]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation | ||
| [options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig | ||
| [targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname | ||
| [subjectAltNames]: ../reference/spec/#subjectaltname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has the same problem as above
| [options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig | ||
| [targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname | ||
| [subjectAltNames]: ../reference/spec/#subjectaltname | ||
| [options]: ../reference/spec/#backendtlspolicyspec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rikatz, zirain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: